package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallNotice;
import com.ctsi.ssdc.domain.LitemallNoticeExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallNoticeRepository extends BaseRepository<LitemallNotice, Integer, LitemallNoticeExample> {
    @Override
    long countByExample(LitemallNoticeExample example);

    @Override
    int deleteByExample(LitemallNoticeExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallNotice record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallNotice record);

    @Override
    List<LitemallNotice> selectByExample(LitemallNoticeExample example);

    @Override
    LitemallNotice selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallNotice record, @Param("example") LitemallNoticeExample example);

    @Override
    int updateByExample(@Param("record") LitemallNotice record, @Param("example") LitemallNoticeExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallNotice record);

    @Override
    int updateByPrimaryKey(LitemallNotice record);
}